﻿#ifndef _CALL_STACK_H_
#define _CALL_STACK_H_
#if defined SS_USE_WINDOWS
#include "ssWinCallStack.h"
#else
#include "ssUnixCallStack.h"
#endif
#include "../ssSingleton.h"

namespace StarSeeker
{
	class ssCallStack
	{
		SS_SINGLETON(ssCallStack)
	public:
		ssCallStack();

		void GetCallStack(std::string& out);
	private:
#ifdef SS_USE_WINDOWS
		ssWinCallStack m_callStack;
#else
		ssUnixCallStack m_callStack;
#endif
	};
}

#endif
